package cn.iocoder.yudao.module.wecom.dal.mysql.apiconfig;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.wecom.dal.dataobject.apiconfig.WeComApiConfigDO;
import org.apache.ibatis.annotations.Mapper;
import cn.iocoder.yudao.module.wecom.controller.admin.apiconfig.vo.*;

/**
 * 企业参数配置 Mapper
 *
 * @author 数创万维
 */
@Mapper
public interface WeComApiConfigMapper extends BaseMapperX<WeComApiConfigDO> {

    default WeComApiConfigDO getWeComApiConfig() {
        return selectOne(WeComApiConfigDO::getDeleted, 0);
    }
}